package com.goingup.domain;

/**
 * Request to be dropped off on a given floor
 * @author pcresswell
 *
 */
public class DropOffRequest extends Request {
	
	public DropOffRequest(Floor floor){
		super(floor);
	}
	
	@Override
	public String toString() {
		return "Drop Off request on floor: " + this.getFloor().getNumber();
	}


	@Override
	protected void executeRequest(Elevator elevator) {
		elevator.handleDropOffRequest(this);
		
	}
	
}
